package com.yulong.web.mapper;

import com.yulong.model.pojo.UmsResource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UmsResourceMapper {


    List<UmsResource> list(@Param(value = "name") String name, @Param(value = "url") String url, @Param(value = "categoryId") Long categoryId);
    Integer delete(Long id);
    Integer update(UmsResource umsResource);
    Integer create(UmsResource umsResource);

}
